#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
typedef int HPDataType;
typedef struct Heap
{
	HPDataType* _a;
	int _size;
	int _capacity;
}Heap;
void HeapInit(Heap* php, HPDataType* a, int n);
void HeapDestroy(Heap* php);
void HeapPush1(Heap* php, HPDataType x);
void HeapPop1(Heap* php);
HPDataType HeapTop(Heap* php);